#export XMLIR_D_XPU_L3_SIZE=66060288
export XMLIR_D_XPU_L3_SIZE=0
export XDNN_CONV_GEMM_DTYPE="int16"
export XDNN_FC_GEMM_DTYPE="int16"
export XDNN_USE_FAST_SWISH="true"
export TORCH_XMLIR_LINEAR_USE_WEIGHT_MAX_BOOL=True
pip install --force-reinstall /share/zhiyuan/xacc-0.1.0-cp38-cp38-linux_x86_64.20230616.whl
pip install --force-reinstall /share/zhiyuan/xmlir-0.0.1-cp38-cp38-linux_x86_64.20230619.whl
pip install /share/zhiyuan/pydantic-1.10.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pip install uvicorn
pip install fastapi
pip install asgiref
export XPU_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
python3 -m xacc -L linear -- server.py 0 7888 2>&1|tee 0_log.txt &
python3 -m xacc -L linear -- server.py 1 7889 2>&1|tee 1_log.txt &
python3 -m xacc -L linear -- server.py 2 7890 2>&1|tee 2_log.txt &
python3 -m xacc -L linear -- server.py 3 7891 2>&1|tee 3_log.txt &
python3 -m xacc -L linear -- server.py 4 7892 2>&1|tee 4_log.txt &
python3 -m xacc -L linear -- server.py 5 7893 2>&1|tee 5_log.txt &
python3 -m xacc -L linear -- server.py 6 7894 2>&1|tee 6_log.txt &
python3 -m xacc -L linear -- server.py 7 7895 2>&1|tee 7_log.txt &
